package com.ds.infra.rpc.example.api.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * 订单项DTO
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class OrderItemDTO implements Serializable {

    private static final long serialVersionUID = 1481815386869644918L;
    private Long id;
    private Long orderId;
    private Long productId;
    private String productName;
    private BigDecimal productPrice;
    private Integer quantity;
    private BigDecimal subtotal;

}
